//会员打标签
import http from "@/utils/http";
import {EnumAlias} from "@/utils/common";
//分页
export function membersTagsPage(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/page`,
    method: "get",
    params
  });
}
//创建
export function membersTagsCreate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/create`,
    method: "post",
    data
  });
}
//会员选择标签保存
export function membersTagsBatchCreate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/batchCreate`,
    method: "post",
    data
  });
}
//修改
export function membersTagsUpdate(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/update`,
    method: "post",
    data
  });
}
//删除
export function membersTagsDelete(data?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/delete`,
    method: "post",
    data
  });
}
//详情
export function membersTagsDetail(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/detail`,
    method: "get",
    params
  });
}
//list集合
export function membersTagsList(params?: object) {
  return http({
    url: `${EnumAlias.PROJECT}/${EnumAlias.MODULE_MALL}/membersTags/list`,
    method: "get",
    params
  });
}
